import java.io.Serializable;

/**
 * @author 甜圆
 * @version v1.0.1
 * @date 2025/8/25 16:13
 * @package PACKAGE_NAME
 * @copyright 甜圆
 */
// 老师类
public class Teacher implements Serializable {
    private String name;
    private int age;
    private double salary;

    public Teacher(String name, int age, double salary) {
        this.name = name;
        this.age = age;
        this.salary = salary;
    }

    public String getName() { return name; }
    public int getAge() { return age; }
    public double getSalary() { return salary; }
}